package cn.edu.sjtu.process_management.model;

import lombok.Builder;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.List;

/**
 * @author loumoon
 * @date 2019-11-01 11:46
 */
@Data
@Builder
@Document("history")
public class History {
    private String id;
    private String process;
    private String bpmnInstance;
    private int status;
    private Date start;
    private Date end;
    private List<Log> logs;
}
